package com.tmt.im.wallet.controler.vo;

import com.tmt.im.common.enums.ChannelType;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/10/20 14:20
 * @Version 1.0
 **/
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "ApplyWithdrawRequest", description = "提现申请请求对象")
public class ApplyWithdrawRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -2235134916156230077L;

    @Schema(description = "提现金额，单位：分")
    @NotNull(message = "提现金额不能为null")
    private Long amount;

    @Schema(description = "提现通道类型")
    @NotNull(message = "提现通道类型不能为null")
    private ChannelType type;

}
